const config = require('./webpack.base.config');
const merge = require('webpack-merge');
const webpack = require('webpack');
const path = require('path');

const BUILD_PATH = path.resolve(__dirname, '../build/');
const ASSETS_PATH = path.resolve(__dirname, '../src/assets/');

module.exports = merge(config, {
	devServer: {
		contentBase: BUILD_PATH,
		overlay: true,
		port: 7000,
		host: 'localhost',
		
		inline: true,
		stats: 'errors-only'
	},
	plugins: [
		new webpack.HotModuleReplacementPlugin()
	]
})